<?php
/**
 * Copyright © 2013-2017 Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

// @codingStandardsIgnoreFile

?>
<?php if (!empty($links)): ?>
<ul class="breadcrumbs">
    <?php $_size = count($links); ?>
    <?php foreach ($links as $_index => $_link): ?>
    <li>
        <?php if (empty($_link['url'])): ?>
            <?php if ($_index != $_size-1): ?>
                <span><?php echo $block->escapeHtml($_link['label']) ?></span>
            <?php else: ?>
                <strong><?php echo $block->escapeHtml($_link['label']) ?></strong>
            <?php endif; ?>
        <?php else: ?>
            <a href="<?php /* @escapeNotVerified */ echo $_link['url'] ?>" title="<?php echo $block->escapeHtml($_link['title']) ?>"><?php echo $block->escapeHtml($_link['label']) ?></a>
        <?php endif; ?>
        <?php if ($_index != $_size-1): ?>
            &raquo;
        <?php endif; ?>
    </li>
    <?php endforeach; ?>
</ul>
<?php endif; ?>
